package com.hksj.Intelligentmanagement.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "排班手术信息")
public class SurgicalVo {

    @ApiModelProperty(value = "手术信息表")
    private String id;

    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "住院号")
    private String inpatNo;

    @ApiModelProperty(value = "患者性别{0为女生，1为男生}")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "患者性别{0为女生，1为男生}")
    private String sexStr;

    @ApiModelProperty(value = "患者年龄")
    @TableField("age")
    private Integer age;

    @ApiModelProperty(value = "病人所在科室id")
    private String departmentId;

    @ApiModelProperty(value = "病人所在科室名称")
    private String departmentName;

    @ApiModelProperty(value = "床号")
    private String bedCode;

    @ApiModelProperty(value = "诊断")
    private String diagnosis;

    @ApiModelProperty(value = "手术id")
    private String surgicalId;

    @ApiModelProperty(value = "手术名称")
    private String surgicalName;

    @ApiModelProperty(value = "执刀时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date operateTime;

    @ApiModelProperty(value = "执刀时间小时")
    @JsonFormat(pattern="HH:mm",timezone="GMT+8")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String operateTimeShort;

    @ApiModelProperty(value = "主刀医生姓名")
    private String masterDoctorName;

    @ApiModelProperty(value = "一助姓名")
    private String assistantFirstName;

    @ApiModelProperty(value = "二助姓名")
    private String assistantSecondName;

    @ApiModelProperty(value = "三助姓名")
    private String assistantThirdName;

    @ApiModelProperty(value = "参观者")
    private String visitor;

    @ApiModelProperty(value = "麻醉方式")
    private String anaesthesiaType;

    @ApiModelProperty(value = "麻醉医生")
    private String anaesthesiaDoctor;

    @ApiModelProperty(value = "部位")
    private String part;

    @ApiModelProperty(value = "体位")
    private String position;

    @ApiModelProperty(value = "医保类型")
    private String medicalInsuranceType;

    @ApiModelProperty(value = "手术状态")
    private Integer status;

    @ApiModelProperty(value = "排班状态  0 = 未排班 1 = 已排班 2 = 排班中")
    private Integer schedulingStatus;

    @ApiModelProperty(value = "手术间名称")
    private String roomName;

    @ApiModelProperty(value = "洗手护士")
    private String washNurse;

    @ApiModelProperty(value = "巡回护士")
    private String tourNurse;

    @ApiModelProperty(value = "手麻助手")
    private String anesthesiaAssistant;

    @ApiModelProperty(value = "麻醉指导")
    private String anesthesiaInstructor;

    @ApiModelProperty(value = "备注")
    @JsonIgnore
    private String note;

}
